export function validateNotEmpty(rule: any, value: any, callback: any) {
  console.log(rule)
  if (value === '') {
    callback(new Error(rule.message))
  } else {
    callback()
  }
}
